package com.limetalks.events
{
	import flash.events.Event;
	
	public class LimeEvent extends Event
	{
		public static var CONNECTION:String = "CONNECTION";
		public static var CONNECTION_LOST:String = "CONNECTION_LOST";
		public static var LOGIN:String = "LOGIN";
		public static var LOGIN_ERROR:String = "LOGIN_ERROR";
		public static var LOGOUT:String = "LOGOUT";
		public static var STREAM_START:String = "STREAM_START";
		public static var STREAM_START_ERROR:String = "STREAM_START_ERROR";
		public static var STREAM_STOP:String = "STREAM_STOP";
		public static var STREAM_JOIN:String = "STREAM_JOIN";
		public static var STREAM_LEAVE:String = "STREAM_LEFT";
		public static var STREAM_UPDATE:String = "STREAM_UPDATE";
		public static var USER_COUNT_CHANGE:String = "USER_COUNT_CHANGE";
		public static var PUBLIC_MESSAGE:String = "PUBLIC_MESSAGE";
		public static var STREAM_MESSAGE:String = "STREAM_MESSAGE";
		public static var STREAM_LIST:String = "STREAM_LIST";
		public static var CHAT_MESSAGE_RECEIVED:String = "CHAT_MESSAGE_RECEIVED";
		
		public var params:Object = new Object();
		
		public function LimeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}